package com.njmaomao.gj.pyot.common.bean.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;

@ApiModel(value = "保存商城支付配置参数")
public class MallPayConfigDTO {

    @ApiModelProperty(notes = "微信支付分配的公众账号ID（企业号corpid即为此appId）必传")
    private String appId;

    @ApiModelProperty(notes = "商城ID")
    private Long mallId;

    @ApiModelProperty(notes = "商户号 必传")
    private String mchId;

    @ApiModelProperty(notes = "加密参数的秘钥key 必传")
    private String key;

    @ApiModelProperty(notes = "交易类型 必传 可传：JSAPI")
    private String tradeType;

    @ApiModelProperty(notes = "证书名称 必传")
    private String certFileName;

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getMchId() {
        return mchId;
    }

    public void setMchId(String mchId) {
        this.mchId = mchId;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public Long getMallId() {
        return mallId;
    }

    public void setMallId(Long mallId) {
        this.mallId = mallId;
    }

    public String getTradeType() {
        return tradeType;
    }

    public void setTradeType(String tradeType) {
        this.tradeType = tradeType;
    }

    public String getCertFileName() {
        return certFileName;
    }

    public void setCertFileName(String certFileName) {
        this.certFileName = certFileName;
    }
}
